/*
 * genericsearchalgorithm.h
 *
 *  Created on: Jul 11, 2010
 *      Author: satish
 */

#ifndef GENERICSEARCHALGORITHM_H_
#define GENERICSEARCHALGORITHM_H_

class GenericSearchAlgorithm {
public:
    virtual char*  substringSearch(const char *haystack,const char *needle ) = 0 ;
    GenericSearchAlgorithm();
    virtual~ GenericSearchAlgorithm();
};

#endif /* GENERICSEARCHALGORITHM_H_ */
